package com.uwo.commons.configuration;

import com.uwo.commons.configuration.aop.validate.ValidateProperties;
import com.uwo.commons.configuration.aop.validate.validate.*;
import com.uwo.commons.configuration.aop.validate.ValidateAspect;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启动验证
 * @author hao.yan
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Import(value = {ValidateProperties.class, ValidateAspect.class,
        NotNullValidate.class, NotEmptyValidate.class,
        PatternValidate.class, LengthValidate.class,
        NumberValidate.class, SensitiveValidate.class})
@Configuration
public @interface EnableValidate{

}
